package cn.lj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @file:
 * @version:
 * @Description: FinanceInfoVo查询对象
 * @author: 李津
 * @date: 2021-04-14 16:19
 * 本代码要注意的事项、备注事项等
 */
@ApiModel("FinanceInfoVo查询对象")
@Data
public class FinanceInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "报销人用户ID")
//    private Integer userId;

    @ApiModelProperty(value = "报销人用户名")
    private String userName;

    @ApiModelProperty(value = "事由")
    private String reason;

    @ApiModelProperty(value = "查询的事由发生开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty(value = "查询的事由发生结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}